home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
x11
/
strategy
/
awele-1.0
/
awele-1
/
awele
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-12-08
|
15KB
|
513 lines
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# From the Alpha Imakefile
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit osf1.cf to change
# platform: osf1.cf
# Operating system: 1/1 3.2
SHAREDSWITCH =
# Using 1 shared library rules
# -------------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
SHELL = /bin/sh
TOP = .
CURRENT_DIR = .
AR = ar cqls
LOCAR = ar clq
BOOTSTRAPCFLAGS =
CC = cc $(SHAREDSWITCH)
LOCCC = cc
LOCSHARCC = LocShareCcCmd
AS = as
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = cc $(SHAREDSWITCH) -E $(STD_CPP_DEFINES)
INSTALL = /usr/bin/X11/install.sh
LD = ld
LINT = lint
LINTLIBFLAG = -o
LINTOPTS = -ax
LN = ln -s
MAKE = make
MV = mv
CP = cp
RM = rm -f
TROFF = psroff
MSMACROS = -ms
TBL = tbl
EQN = eqn
STD_INCLUDES =
LOCSTD_INCLUDES =
STD_CPP_DEFINES = -DDEC -DR5_XLIB -DSMT
STD_DEFINES = -DDEC -DR5_XLIB -DSMT
EXTRA_LOAD_FLAGS =
EXTRA_LIBRARIES =
LOCEXTRA_LIBRARIES =
TAGS = ctags
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF =
PROTO_DEFINES = -DFUNCPROTO=3
INSTPGMFLAGS = -s
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4755
CDEBUGFLAGS = -O2 -Olimit 2000
CCOPTIONS =
LOCCCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
LOCALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(LOCSTD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
LOCALLDEFINES = $(LOCALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LOCCFLAGS = $(CDEBUGFLAGS) $(LOCCCOPTIONS) $(LOCALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LOCLDLIBS = $(SYS_LIBRARIES) $(LOCEXTRA_LIBRARIES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
LOCLDOPTIONS = $(CDEBUGFLAGS) $(LOCCCOPTIONS) $(LOCAL_LDFLAGS)
LDCOMBINEFLAGS = -X -r
DEPENDFLAGS = -D__alpha -D__osf__ -I -I$(CROSSBASE)/usr/include
MACROFILE = osf1.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
IMAKE_DEFINES =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.142 92/01/25 16:44:02 rws Exp $
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
VARDIR = /usr/var/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
FONTDIR = $(LIBDIR)/fonts
USERFONTDIR = $(VARDIR)/fonts/user
FSDIR = $(VARDIR)/fs
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(VARDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = imake
DEPEND = makedepend
RGB = rgb
FONTC = bdftopcf
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
XMUSRC = $(LIBSRC)/Xmu
TOOLKITSRC = $(LIBSRC)/Xt
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
XTRAPLIBSRC = $(EXTENSIONSRC)/lib/xtrap
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
XIELIBSRC = $(EXTENSIONSRC)/lib/XIE
EXTINCSRC = $(TOP)/X11/extensions
USRSHLIBDIR = /usr/shlib
XSHLIBDIR = /usr/shlib/X11
SHLIBFLAGS = -check_registry $(CROSSBASE)/usr/shlib/so_locations -L$(CROSSBASE)/usr/shlib -L$(CROSSBASE)/usr/ccs/lib
DEPEXTENSIONLIB = $(USRSHLIBDIR)/libXext.so
EXTENSIONLIB = -lXext
DEPXLIB = $(DEPEXTENSIONLIB) $(USRSHLIBDIR)/libX11.so
XLIB = -lXext -lX11
DEPXMULIB = $(USRSHLIBDIR)/libXmu.so
XMULIB = -lXmu
DEPOLDXLIB = $(USRSHLIBDIR)/liboldX.so
OLDXLIB = -loldX
DEPXTOOLLIB = $(USRSHLIBDIR)/libXt.so
XTOOLLIB = -lXt
DEPXAWLIB = $(USRSHLIBDIR)/libXaw.so
XAWLIB = -lXaw
DEPXXIELIB = $(USRSHLIBDIR)/libXIE.so
XXIELIB = -lXIE
DEPXILIB = $(USRSHLIBDIR)/libXi.a
XILIB = -lXi
DNETLIB = -ldnet_stub
SOXLIBREV = SharedXlibRev
SOXTREV = SharedXtRev
SOXAWREV = SharedXawRev
SOXIEREV = SharedXIERev
SOOLDXREV = SharedOldXRev
SOXMUREV = SharedXmuRev
SOXEXTREV = SharedXextRev
SOXINPUTREV = SharedXinputRev
SOXTESTREV = SharedXTestRev
SOXTRAPREV = SharedXTrapRev
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
DEPXTESTLIB = $(USRLIBDIR)/libXtst.a
XTESTLIB = -lXtst
DEPXTRAPLIB = $(USRLIBDIR)/libXTrap.a
XTRAPLIB = -lXTrap
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
DEPACCESSXLIB = $(USRLIBDIR)/libAccessX.a
ACCESSXLIB = -lAccessx
DEPACCESSXLIB = $(USRLIBDIR)/libAccessX.a
ACCESSXLIB = -lAccessx
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXXIE = $(LINTLIBDIR)/llib-lXIE.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
UILFLAGS =
MLIBSRC = $(TOP)/motif/lib
XMSRC = $(MLIBSRC)/Xm
LINTXM = $(USRLIBDIR)/llib-lXm.ln
USRINCDIR = $(INCDIR)
TESTSRC = $(TOP)/tests
MTOOLKITSRC = $(LIBSRC)/Xt
MWIDGETSRC = $(MLIBSRC)/Xm
MRESOURCESRC = $(MLIBSRC)/Mrm
MCLIENTSRC = $(TOP)/motif/clients
UILSRC = $(MCLIENTSRC)/uil
MINCLUDESRC = $(INCLUDESRC)
UIL = uil
INSTALLLIB = $(DESTDIR)/usr/lib
INSTALLSHLIB = $(DESTDIR)/usr/shlib
DEPXMLIB = $(USRSHLIBDIR)/libXm.so
XMLIB = -lXm
DEPMRESOURCELIB = $(USRSHLIBDIR)/libMrm.so
MRESOURCELIB = -lMrm
UILINCLUDES =
UILLIB = $(UILSRC)/libUil.a
LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
LINTUILLIB = $(UILSRC)/llib-lUil.ln
# -------------------------------------------------------------------------
# DEC-Specific System Build Parameters
HELPDIR = $(LIBDIR)/help
UIDDIR = $(LIBDIR)/uid
CDADIR = $(USRLIBDIR)/cda
DXMSRC = $(MLIBSRC)/DXm
DPSSRC = $(EXTENSIONSRC)/DPSII/lib/dps
DPSTKSRC = $(EXTENSIONSRC)/DPSII/lib/dpstk
PSRESSRC = $(EXTENSIONSRC)/DPSII/lib/psres
XIESRC = $(EXTENSIONSRC)/lib/xie
IDSSRC = $(MLIBSRC)/ids
BKRSRC = $(MLIBSRC)/bkr
DWI18NSRC = $(MLIBSRC)/dwi18n
LWKSRC = $(MLIBSRC)/lwk
DVRSRC = $(MLIBSRC)/dvr
DEPDXMLIB = $(USRSHLIBDIR)/libDXm.so
DXMLIB = -lDXm
MDXMLIB = $(DXMLIB)
DEPDPSLIB = $(USRSHLIBDIR)/libdps.so
DPSLIB = -ldps
DEPDPSTKLIB = $(USRSHLIBDIR)/libdpstk.so
DPSTKLIB = -ldpstk
DEPPSRESLIB = $(USRSHLIBDIR)/libpsres.so
PSRESLIB = -lpsres
DEPXIELIB = $(USRLIBDIR)/libXie.a
XIELIB = -lXie
DEPIDSLIB = $(USRSHLIBDIR)/libids.so
IDSLIB = -lids
DEPBKRLIB = $(USRSHLIBDIR)/libbkr.so
BKRLIB = -lbkr
DEPDWI18NLIB = $(USRLIBDIR)/libdwi18n.a
DWI18NLIB = -ldwi18n
DEPLWKLIB = $(USRSHLIBDIR)/liblwkdxm.so
LWKLIB = -llwkdxm
DEPDVRLIB = $(USRSHLIBDIR)/libdvr.so
DVRLIB = -ldvr
DEPIMGLIB =
DEPIPSLIB =
DEPCHFLIB =
DEPCDALIB =
DEPDVSLIB =
DEPIDS_NOXLIB =
IMGLIB = -limg
IPSLIB = -lips
CHFLIB = -lchf
CDALIB = -lcda
IDS_NOXLIB = -lids_nox
DVSLIB = -ldvs
DEBUGUSRLIBDIR=/usr/debugshlib
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
# -------------------------------------------------------------------------
# DEC-Specific System Build Rules
# $Id: Dec.rules,v 1.1.2.8 92/12/08 19:29:22 Leela_Obilichetti Exp $
# -------------------------------------------------------------------------
# start of Imakefile
# Imakefile - AWELE version 1.0
# install directory
AWELE_DIR = /user/berroir/src/awele/install
# tcl/tk script
AWELE_SCRIPT = xawele
# libs, includes
# TK_LIB AND TK_INCLUDE stand for tk and tcl
TK_LIB = -L/usr/local/lib -ltk -ltcl
# TK_LIB = -L/usr/local/lib -ltk4.0 -ltcl7.4
TK_INCLUDE = -I/usr/local/include
DEFINES = $(TK_INCLUDE)
LOCAL_LIBRARIES = $(TK_LIB) -lX11 -lm
# ANSI-C compiler
CC = gcc
# Please don't change anything below this point
DEPLIBS = $(DEPXLIB)
SRCS1 = tkAppInit.c awelewish.c alphabeta.c move.c util.c
OBJS1 = tkAppInit.o awelewish.o alphabeta.o move.o util.o
PROGRAMS = awelewish
all:: $(PROGRAMS)
OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
SRCS = $(SRCS1) $(SRCS2) $(SRCS3)
all:: $(PROGRAMS)
$(PROGRAMS): $(OBJS1) $(DEPLIBS1)
$(RM) $@
$(CC) -o $@ $(LDOPTIONS) $(OBJS1) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
install:: $(PROGRAMS)
@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
$(INSTALL) -c $(INSTPGMFLAGS) $(PROGRAMS) $(DESTDIR)$(BINDIR)
install.man:: $(PROGRAMS).man
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
$(INSTALL) -c $(INSTMANFLAGS) $(PROGRAMS).man $(DESTDIR)$(MANDIR)/$(PROGRAMS).$(MANSUFFIX)
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
clean::
$(RM) $(PROGRAMS)
install:: $(PROGRAMS) $(AWELE_SCRIPT)
@echo "AWELE directory is " $(AWELE_DIR)
@:
@echo "Creating directory " $(AWELE_DIR)
@if [ ! -d $(AWELE_DIR) ]; then mkdir $(AWELE_DIR); fi
@:
@$(INSTALL) -c -s $(INSTBINFLAGS) $(PROGRAMS) $(AWELE_DIR)
@$(INSTALL) -c $(INSTBINFLAGS) $(AWELE_SCRIPT) $(AWELE_DIR)
@:
# End of the AWELE Imakefile
# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) "#"*
Makefile::
-@if [ -f Makefile ]; then set -x; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
else exit 0; fi
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
# -------------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
install::
@echo "install in $(CURRENT_DIR) done"
install.man::
@echo "install.man in $(CURRENT_DIR) done"
Makefiles::
includes::
# -------------------------------------------------------------------------
# dependencies generated by makedepend